home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
gth035.zip
/
ZMBAT.HLP
< prev
Wrap
Text File
|
1990-08-11
|
3KB
|
65 lines
╔═════════╦════════════════════════════════════════════════════════════
║ GT-HELP ║ ZMODEM batch files
╚═════════╩════════════════════════════════════════════════════════════
Two batch files are involved in executing Zmodem :
ZMTX.BAT is executed when sending, ie a host mode caller is
downloading from you, or you (in terminal mode)
are uploading to another board.
ZMRX.BAT is executed when receiving, ie a host mode caller is
uploading to you, or you (in terminal mode) are
downloading from another board.
Usually DSZ.COM or DSZ.EXE (both from Omen Technology) is called in the
batch file. The version distributed with GT is very old - recent
versions will generally give better results.
Typical content of the batch files are (for recent 1989/1990 versions
of DSZ):
ZMTX.BAT dsz port %1 handshake on sz -r %3 %4 %5 %6 %7 %8 %9
ZMRX.BAT dsz port %1 handshake on restrict rz %3 %4 %5 %6 %7 %8 %9
where handshake on enables flow control - usually necessary
-r allows crash recovery when sending, if the
remote end allows it.
restrict prevents files with full path names from
being uploaded (otherwise somebody could
guess your GTPATH and overwrite important
files).
and GT sets %1 to the com port number
%2 to the DTE baud rate (not used in this case
since DSZ happily determines it from the
com port)
%3 ... to the filenames which are intended to be
transferred.
Note that
a) THESE BATCH FILES WORK ONLY IF DSZ.COM OR DSZ.EXE IS *SOMEWHERE* IN
YOUR DOS PATH. Or it could be elsewhere, but then you would need a
full path prefix in the DSZ command.
b) If you are running DSZ in netmail, you have to put DSZ.COM or
DSZ.EXE in the *GTPATH*.
c) The restrict option and the -r option cannot appear on the same
line. Restrict is necessary for host mode security, but it
means that callers cannot use recovery during uploads and the
sysop cannot use recovery during downloads.